//
//  XZTestDynamicCell.m
//  Teecloud
//
//  Created by PC on 2018/12/25.
//  Copyright © 2018年 小志. All rights reserved.
//

#import "XZTestDynamicCell.h"
#import "XZTestDynamicModel.h"

@interface XZTestDynamicCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *batchCountLabel;
@property (weak, nonatomic) IBOutlet UILabel *roomCountLabel;
@property (weak, nonatomic) IBOutlet UILabel *personCountLabel;

@end
@implementation XZTestDynamicCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(XZTestDynamicModel *)model{
    _model = model;
    self.titleLabel.text = model.Title;
    self.batchCountLabel.text = [NSString stringWithFormat:@"%@",model.BatchCount];
    self.roomCountLabel.text = [NSString stringWithFormat:@"%@",model.RoomCount];
    self.personCountLabel.text = [NSString stringWithFormat:@"%@",model.PersonCount];
}


@end
